home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / LITTLE / P3SRC.ZIP / ATARI / POVPROTO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-12  |  3.0 KB  |  76 lines

  1. /****************************************************************************
  2. *                   povproto.h
  3. *
  4. *  This module defines the prototypes for all system-independent functions.
  5. *
  6. *  from Persistence of Vision(tm) Ray Tracer
  7. *  Copyright 1996 Persistence of Vision Team
  8. *---------------------------------------------------------------------------
  9. *  NOTICE: This source code file is provided so that users may experiment
  10. *  with enhancements to POV-Ray and to port the software to platforms other
  11. *  than those supported by the POV-Ray Team.  There are strict rules under
  12. *  which you are permitted to use this file.  The rules are in the file
  13. *  named POVLEGAL.DOC which should be distributed with this file. If
  14. *  POVLEGAL.DOC is not available or for more info please contact the POV-Ray
  15. *  Team Coordinator by leaving a message in CompuServe's Graphics Developer's
  16. *  Forum.  The latest version of POV-Ray may be found there as well.
  17. *
  18. * This program is based on the popular DKB raytracer version 2.12.
  19. * DKBTrace was originally written by David K. Buck.
  20. * DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  21. *
  22. *****************************************************************************/
  23.  
  24. #ifndef POVPROTO_H
  25. #define POVPROTO_H
  26.  
  27.  
  28.  
  29. /*****************************************************************************
  30. * Global preprocessor defines
  31. ******************************************************************************/
  32.  
  33.  
  34.  
  35. /*****************************************************************************
  36. * Global typedefs
  37. ******************************************************************************/
  38.  
  39.  
  40.  
  41. /*****************************************************************************
  42. * Global variables
  43. ******************************************************************************/
  44.  
  45.  
  46.  
  47. /*****************************************************************************
  48. * Global functions
  49. ******************************************************************************/
  50.  
  51. /* Prototypes for machine specific functions defined in "computer".c (ibm.c amiga.c unix.c etc.)*/
  52. void display_finished PARAMS((void));
  53. void display_init PARAMS((int width, int height));
  54. void display_close PARAMS((void));
  55. void display_plot PARAMS((int x, int y, unsigned char Red, unsigned char Green, unsigned char Blue, unsigned char Alpha));
  56. void display_plot_rect PARAMS((int x1, int x2, int y1, int y2,
  57.   unsigned char Red, unsigned char Green, unsigned char Blue, unsigned char Alpha));
  58.  
  59. /* Prototypes for functions defined in mem.c */
  60. #include "mem.h"
  61.  
  62. /* Prototypes for functions defined in userio.c */
  63.  
  64. int CDECL Banner PARAMS((char *format,...));
  65. int CDECL Warning PARAMS((DBL level, char *format,...));
  66. int CDECL Render_Info PARAMS((char *format,...));
  67. int CDECL Status_Info PARAMS((char *format,...));
  68. int CDECL Statistics PARAMS((char *format,...));
  69. int CDECL Error_Line PARAMS((char *format,...));
  70. int CDECL Error PARAMS((char *format,...));
  71. int CDECL Debug_Info PARAMS((char *format, ...));
  72.  
  73. void Terminate_POV PARAMS((int i));
  74.  
  75. #endif
  76.